Table of Contents

Class: ISEF .\src\TW\SEF\Interfaces.py

Basic interface supplied by all StructuralModel objects

Base Classes   
Interface.Base
Methods   
getSEFparent
getService
  getSEFparent 
getSEFparent ( self )

Return the parent of this object (in S-E-F terms)

If this is a feature, returns the element. If this is an element, return the controlling service. If this is a service, return the containing service (or self if none).

  getService 
getService ( self,  name=None )

Locate a service in context

If name is not supplied, return the Service object which is responsible for the object this method is called on. (Aka "the responsible Service".) In the case of a Feature, that would be the Service responsible for the Feature's Element.

If name is supplied, it must be a string containing a dotted name, or a sequence of path components (e.g. "foo.bar" or ("foo","bar") are valid names). The contextually closest Service to the "responsible Service" which matches the name will be returned. An exception may result if the named Service does not exist.


Table of Contents

This document was automatically generated on Tue Mar 05 10:33:50 2002 by HappyDoc version WORKING